/**
 * getServerGo
 *
 **/
export default function (url) {
  // let server = 'https://api.shendupeiban.com'
  let server = window.config.server
  if (process.env.APP_TEST === 'true' || process.env.NODE_ENV !== 'production') {
    server = 'http://192.168.1.162:8087'
    // server = 'http://192.168.1.178:8106'
    // if (/\/schoolorg\/v1/.test(url)) {
    //   server = 'http://192.168.1.240:8118'
    // }
  }
  return server + url
}
